//
//  CellDataAdapter.h
//  MyFunctionDemo
//
//  Created by Ting Han on 2017/9/21.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

/**
 tableView的适配器
 */
@interface CellDataAdapter : NSObject

@property (nonatomic, strong) NSString     *cellReuseIdentifier;
@property (nonatomic, strong) id            data;
@property (nonatomic)         NSInteger     cellType;

//tableView可用
@property (nonatomic)         CGFloat       cellHeight;
@property (nonatomic)         CGFloat       cellWidth;


//便利构造器
+ (CellDataAdapter *)cellDataAdapterWithReuseIdentifier:(NSString *)reuseIdentifier data:(id)data cellHeight:(CGFloat)cellHeight cellWidth:(CGFloat)cellWidth  cellType:(NSInteger)cellType;


@end
